import 'package:json_annotation/json_annotation.dart';

part 'bt_config_item.g.dart';

@JsonSerializable()
class BtConfigItem {
  final dynamic data;
  final String name;

  const BtConfigItem({
    required this.data,
    required this.name,
  });

  factory BtConfigItem.fromJson(Map<String, dynamic> json) => _$BtConfigItemFromJson(json);

  Map<String, dynamic> toJson() => _$BtConfigItemToJson(this);
}